<div xmlns:th="http://www.thymeleaf.org" th:fragment="head">
    <meta charset="UTF-8">
    <title>我的博客</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" th:href="@{/blog/res/layui/css/layui.css}" >
    <link rel="stylesheet" th:href="@{/blog/res/static/css/mian.css}">
    <script type="text/javascript" th:src="@{/blog/res/layui/layui.js}"></script>
</div>
<div xmlns:th="http://www.thymeleaf.org" th:fragment="header">
        <div class="header-wrap">
            <h1 class="logo pull-left">
                <a href="../blog/index">
                    <img src="/blog/res/static/images/logo.png" alt="" class="logo-img">
                    <img src="/blog/res/static/images/logo-text.png" alt="" class="logo-text">
                </a>
            </h1>
            <!-- <form class="layui-form blog-seach pull-left" action="">
                    <div class="layui-form-item blog-sewrap">
                        <div class="layui-input-block blog-sebox">
                            <i class="layui-icon layui-icon-search"></i>
                            <input type="text" name="title" lay-verify="title" autocomplete="off"  class="layui-input">
                        </div>
                    </div>
            </form>-->
            <div class="blog-nav pull-right">
                <ul class="layui-nav pull-left">
                    <li class="layui-nav-item" th:classappend="${#httpServletRequest.getParameter('falg')} == 1?'layui-this':'' "><a href="../blog/index?falg=1">首页</a></li>
                    <li class="layui-nav-item" th:classappend="${#httpServletRequest.getParameter('falg')} == 2?'layui-this':'' "><a href="../blog/message?falg=2">留言</a></li>
                    <li class="layui-nav-item" th:classappend="${#httpServletRequest.getParameter('falg')} == 3?'layui-this':'' "><a href="../blog/about?falg=3">关于</a></li>
                </ul>
                <a href="#" class="personal pull-left">
                    <i class="layui-icon layui-icon-username"></i>
                </a>
            </div>
        </div>
</div>


<div xmlns:th="http://www.thymeleaf.org" th:fragment="footer">
    <p>
        <span>&copy; 2018</span>
        <span><a href="http://www.layui.com" target="_blank">layui.com</a></span>
        <span>MIT license</span>
    </p>
    <p><span>人生就是一场修行</span></p>
    <script>
        layui.config({
            base: '/blog/res/static/js/'
        }).use('blog');
    </script>
</div>